home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.3 KB | 38 lines | [TEXT/GEOL] |
- Item 9953727 10-Dec-90 09:50PST
-
- From: MUYSVASOVIC ACE - Jean-Denis Muys-Vasovic
-
- To: MACDTS Macintosh Developer Tech Supt
- MOOF Rollin, Keith A
- APPLE.BUGS Apple Bugs Reporting
- MACAPP.TEST MacApp SQA Team
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Item forwarded by PERRY.G to PHIL.TH
-
- ------------------------------------------------------------------------------
-
- Sub: C++ demodialogs bugs
-
- Hello guys,
-
- Two new(?) bugs found in the C++ DemoDialogs example (MacApp 2.0.1):
-
- The TPageSetUpDialog class defines a constructor which is never called since
- the instance is created by name from the pascal NewTemplateWindow. It just
- intializes the fOrientation field. This should be done in an IRes method.
-
- Fortunately, this bug doesn't show in non debug since the default 0 is a valid
- value. In debug mode, the value is invalid, as shown in the inspector! The
- result is that the initial orientation icon in the dialog is not highlighted.
-
- The second is that the fields methods don't follow the correct pascal
- conventions: when you (i)nspect a C++ object in the debugger, the C++ fields
- print as garbage.
-
- Oh well…
-
- Jean-Denis
-
-